{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "a7801a17",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[('school', 'scauzj'), ('name', 'Dopamine'), ('age', '99')]"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dict1 = {'name': 'Dopamine', 'age': '99', 'school': 'scauzj'}\n",
    "sorted(dict1.items(), key=lambda x:x[1], reverse=True)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "base",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
